/******************************************************************************

  Copyright (C), 2011-2021, SumaVision. Co., Ltd.

 ******************************************************************************
  File Name     : suma_os_def.h
  Version       : 0.1
  Author        : zhuzhipeng(400025)
  Created       : D2011-3-9
  Last Modified :
  Description   : suma_os_def.h header file
  Function List :
  History       :
  1.Date        : D2011-3-9
    Author      : zhuzhipeng(400025)
    Modification: Created file

******************************************************************************/

#ifndef __VOS_OS_DEF_H__
#define __VOS_OS_DEF_H__

/*
 *  define you OS type
 */
/*#define __VOS_VXWORKS__*/
/* #define __VOS__VOS_OS_WIN32__ */

#if OSTYPE == VXWORKS
#define __VOS_VXWORKS__
#endif

/*
 *  enable this define for debug version
 */
#define VOS_OS_SUPPORT_DEBUG

/*add by zzp for debug on simnt*/
#define __LITTLE_ENDIAN__

typedef char                    VOS_CHAR;
typedef unsigned char         	VOS_BYTE;

typedef short   VOS_SHOUR16;
typedef unsigned short   VOS_USHOUR16;
typedef short                   VOS_SWORD16;
typedef unsigned short          VOS_UWORD16;
typedef unsigned short          VOS_WORD16;
typedef short                       VOS_INT16;
typedef unsigned short	          VOS_UINT16;

typedef int                         VOS_INT32;
typedef unsigned int            VOS_UINT32;
typedef int                         VOS_INT;

typedef long                       VOS_SWORD32;
typedef unsigned long           VOS_UWORD32;
typedef unsigned long           VOS_WORD32;

typedef float                      VOS_FLOAT;
typedef double                     VOS_DOUBLE;

typedef int                          VOS_BOOL;
typedef void                        VOS_VOID;

typedef unsigned long long  VOS_UINT64;
#define VOS_PACKED __attribute__((__packed__))

#define VOS_TRUE      1
#define VOS_FALSE   0
#define VOS_NULL    (0)

#endif /* __VOS_OS_DEF_H__ */
